import Vue from 'vue'
import VueRouter from 'vue-router'
import projectManage from '../views/projectManage.vue'
import onlineEdit from '../views/onlineEdit.vue'
import home from '../views/home.vue'
Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'home',
    component: home
  },
  {
    path: '/projectManage',
    name: 'projectManage',
    component: projectManage
  },
  {
    path: '/onlineEdit',
    name: 'onlineEdit',
    component: onlineEdit
  }
]

const router = new VueRouter({
  routes
})

export default router
